home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / pc / mac_file / vendor_d / neuralwa / nw2v50 / mnnprobl.igb < prev    next >
Text File  |  1993-08-23  |  1KB  |  60 lines

  1. inst4.1     !Sept 17, 1992
  2. !****************************************************************
  3. !*                                *
  4. !*    Modular Neural Network Gating Probabilities (Learn)    *
  5. !*                                *
  6. !****************************************************************
  7. !
  8.  
  9. @LLsl                !Load super-layer
  10. =n0    Lpes            !Number of layers
  11. =LayN    0
  12.  
  13. ! Look for output of Gating layer.  This is characterized by
  14. ! an exponential Transfer function and a normalizing output
  15. ! function
  16. :GtPrbLLp
  17. +LayN    1            !next layer
  18. ?LayN    n0
  19. >bgt    GtPrLEnd        !past output layer
  20. @LLly                !load the layer
  21. ?Lcmp    "SoftMax"        !SoftMax output function?
  22. >bne    GtPrbLLp        !no, try again
  23.  
  24. ! Add probe
  25. =NPEl    LayN            !point to layer
  26. =PNam    "GateOut"        !probe name
  27. @PbAS                !Add Probe
  28. @PbDC                !Delete all components
  29. @PALy                !Add Near Layer to Probe
  30.  
  31. ! Now build the instrument
  32. @ILdD                !load default instrument
  33. =ITit    "Gating Probs."        !Instrument title
  34. =IGTy    "Strip"            !Graph Type
  35. =IGVr    "Out"            !Variable
  36. =ITTy    "RMS"            !RMS Transformation Type
  37. =ITMd    0            !No transformation
  38. =IEpc    0            !No epoch
  39.  
  40. =Ignx    100            !100 graph points
  41. =Inpl    Lpes            !# plots = #local experts
  42. =Ihgt    50
  43. =Iwdt    200
  44. =Ivmn    0.0
  45. =Ivmx    1.2
  46. =ILnA    1            !Active in Learn
  47. =IRcA    0            !Inactive in recall
  48. =ILDv    5            !Every 5 iteration
  49. =ILRm    0
  50. =IRDv    0
  51. =IRRm    0
  52. =IPrb    PNam            !Point to probe
  53. =ICAc    0            !Convergence criterion inactive
  54. =ICTh    0.0            !Convergence Threshold
  55. !Let NeuralWorks figure out where to put instrument
  56. =x    0
  57. =y    0
  58. @IAdd                !Now create instrument
  59. :GtPrLEnd
  60.